package com.example.demo.exception;


import lombok.Getter;
import lombok.Setter;

/**
 * @author Administrator
 */
@Getter
@Setter
public class BusinessException extends RuntimeException {

    private String code;
    private String msg;


    public BusinessException(String code) {
        this.code = code;
    }

    public BusinessException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }




}